﻿<%@ Page Language="C#" Theme="Samples" AutoEventWireup="true" CodeFile="WebForm7.aspx.cs" Inherits="Samples_Prompt_WebForm7" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Prompt Sample 7</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="sm1" runat="server" />
    <div>
        <h2>Using Prompt with Html Controls</h2>
        <p>The sample demonstrates triggering a Prompt control from a standard Html control.</p>
        <input id="button1" type="button" value="Show the Prompt" />
        
<ae:Prompt ID="prompt1" Title="Prompt Sample 7" Message="I was triggered from a Html Control." 
    ButtonOptions="Ok" runat="server">
    <Triggers>
        <ae:ControlPromptTrigger ControlID="button1" ControlType="HtmlControl" EventName="click" />
    </Triggers>
</ae:Prompt>
        
        
    </div>
    </form>
</body>
</html>
